<!-- Title Field -->
<div class="form-group col-sm-6">
    {!! Form::label('title', '标题:') !!}
    {!! Form::text('title', isset($news->title)?$news->title:null, ['class' => 'form-control']) !!}
</div>

<!-- Typeid Field -->
<div class="form-group col-sm-6">
    {!! Form::label('typeid', '类型:') !!}
    {!! Form::select('typeid', $category,  isset($news->typeid)?$news->typeid:null, ['placeholder' => '选择类型','class' => 'form-control']) !!}
</div>

<!-- Content Field -->
<div class="form-group col-sm-12">
    {!! Form::label('content', '内容:') !!}
    <textarea name="content" id="simditor" placeholder="说点什么吧"
              autofocus>{{isset($news->content)?$news->content:null}}</textarea>
</div>

<!-- Submit Field -->
<div class="form-group col-sm-12">
    <button class="btn btn-primary fb-submit">保存</button>
    <a href="{!! route('news.index') !!}" class="btn btn-default">取消</a>
</div>

<input type="hidden" name="fb-id" value="{{isset($news->id)?$news->id:null}}"/>
